nanopyx.core.transform.sr_radiality

Python reimplementation of the Radiality Transform from the original SRRF paper Paper: https://www.nature.com/articles/ncomms12471 Original code: https://github.com/HenriquesLab/NanoJ-SRRF/blob/master/SRRF/src/nanoj/srrf/java/SRRF.java

class Radiality:
Radiality()

Calculate Radiality, as defined on the original version of SRRF - REF: https://www.nature.com/articles/ncomms12471

Parameters
  • magnification: Desired magnification for the generated radiality image
  • ringRadius: Radius of the ring used to calculate the radiality
  • border: Number of pixels to be zeroed on the borders of the radiality image
  • radialityPositivityConstraint: If True, the radiality image will be constrained to be positive (values >= 0)
  • doIntensityWeighting: If True, the radiality image will be weighted by the intensity of the original image
def calculate(self, image_stack: numpy.ndarray):

Calculate Radiality, as defined on the original version of SRRF - REF: https://www.nature.com/articles/ncomms12471

Parameters
  • image_stack: Image stack to be processed
Returns

Radiality image-stack, magnified image-stack, x-gradient image, y-gradient image